Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.platform.routing.dm.layouts.webapp--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dm.layouts.webapp inside nuxeo-routing-dm-8.10.jar /OSGI-INF/dm-task-layouts-contrib.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_task</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
            <row>
              <widget>automaticValidation</widget>
            </row>
          </rows>
        </layout>
  • <layout name="follow_lc_transition_task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_follow_lc_transion_task</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
          </rows>
        </layout>
  • <layout name="pusblishing_task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_publishing_task</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
          </rows>
        </layout>
  • <layout name="conditional_task_step">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>actors</widget>
            </row>
            <row>
              <widget>directive_conditional_subject</widget>
              <widget>directive_conditional_operator</widget>
              <widget>directive_conditional_value</widget>
              <widget>operatorValidator</widget>
            </row>
            <row>
              <widget>dueDate</widget>
            </row>
          </rows>
          <widget name="directive_conditional_subject" type="text">
            <fields>
              <field>ctkst:subject</field>
            </fields>
            <labels>
              <label mode="any">label.review.directive</label>
            </labels>
            <translated>true</translated>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="validator">
                #{routingTaskActions.validateSubject}
              </property>
            </properties>
          </widget>
          <widget name="directive_conditional_operator" type="template">
            <labels>
              <label mode="any"/>
            </labels>
            <fields>
              <field>ctkst:operator</field>
            </fields>
            <properties mode="any">
              <property name="template">
                /widgets/routing_directive_operator_widget_template.xhtml
              </property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
          <widget name="directive_conditional_value" type="text">
            <labels>
              <label mode="any"/>
            </labels>
            <fields>
              <field>ctkst:value</field>
            </fields>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
          <widget name="operatorValidator" type="template">
            <fields>
              <field/>
            </fields>
            <labels>
              <label mode="any"/>
            </labels>
            <properties widgetMode="edit">
              <property name="validator">
                #{routingTaskActions.validateValueForOperator}
              </property>
              <property name="template">
                /widgets/operator_value_validation_widget_template.xhtml
              </property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
        <row>
          <widget>automaticValidation</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="follow_lc_transition_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_follow_lc_transion_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="pusblishing_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_publishing_task</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
    </layout>
    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <layout name="conditional_task_step">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>actors</widget>
        </row>
        <row>
          <widget>directive_conditional_subject</widget>
          <widget>directive_conditional_operator</widget>
          <widget>directive_conditional_value</widget>
          <widget>operatorValidator</widget>
        </row>
        <row>
          <widget>dueDate</widget>
        </row>
      </rows>
      <widget name="directive_conditional_subject" type="text">
        <fields>
          <field>ctkst:subject</field>
        </fields>
        <labels>
          <label mode="any">label.review.directive</label>
        </labels>
        <translated>true</translated>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="validator">
            #{routingTaskActions.validateSubject}
          </property>
        </properties>
      </widget>
      <widget name="directive_conditional_operator" type="template">
        <labels>
          <label mode="any"/>
        </labels>
        <fields>
          <field>ctkst:operator</field>
        </fields>
        <properties mode="any">
          <property name="template">
            /widgets/routing_directive_operator_widget_template.xhtml
          </property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="directive_conditional_value" type="text">
        <labels>
          <label mode="any"/>
        </labels>
        <fields>
          <field>ctkst:value</field>
        </fields>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
      <widget name="operatorValidator" type="template">
        <fields>
          <field/>
        </fields>
        <labels>
          <label mode="any"/>
        </labels>
        <properties widgetMode="edit">
          <property name="validator">
            #{routingTaskActions.validateValueForOperator}
          </property>
          <property name="template">
            /widgets/operator_value_validation_widget_template.xhtml
          </property>
        </properties>
      </widget>
    </layout>

  </extension>